package com.qf.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.entity.Coupon;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Coupon)表数据库访问层
 *
 * @author makejava
 * @since 2020-10-14 14:33:55
 */
public interface CouponDao extends BaseMapper<Coupon> {

    List<Coupon> getCouponListByUser(@Param("method") Integer method, @Param("uid") Integer uid);

    List<Coupon> getCouponList(Integer uid);
}